package com.alibaba.Day05;

public class User {
   private String name;

   public User(){

   }
   public User(String name){
       this.name = name;
   }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void shopping(){
       // System.out.println( this.name +"  is go shopping");
        System.out.println("shopping --> " + this);
    }
}
